package com.kzw.service;
import com.kzw.dao.HistoryDao;
import com.kzw.entity.History;
import my.db.Page;

public class HistoryService {

	private HistoryDao dao = new HistoryDao();
	
	public Page<History> list(Page<History> page, String uname) {
		return dao.findPage(page, uname);
	}
	
	public void delete(long hid) {
		dao.delete(hid);		
	}
	public void save(History history) {
		dao.save(history);
	}
}
